@keyframes rotate-360 {
    from {
        -webkit-transform-origin: 20px 20px;
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    to {
        -webkit-transform-origin: 20px 20px;
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


@keyframes hide-show {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.animate-text {
    animation: hide-show 1.8s infinite;
}

.fa-rotate-2 {
    animation: rotate-360 2s linear infinite;
}

.fa-rotate-18 {
    animation: rotate-360 1.8s ease-in-out infinite;
}

g {
    animation: loading linear 2s infinite;
}

@keyframes loading {
    from {
        transform: translate(100px, 100px) rotate(0deg);
    }
    to {
        transform: translate(100px, 100px) rotate(360deg);
    }
}

.img-hidden {
    display: none;
}

#news{
  position: relative;
  overflow: hidden;
}
#scrollBox{
  position: absolute;
  left: 0;
  top: 0;
}
#scrollBox span{
  display: block;
  height: 2rem;
  line-height: 2rem;
}
.scroll_top {
  transition: all 0.5s;
  margin-top: -2rem;
}
